package api

import response.base.Res
import retrofit2.Call
import retrofit2.http.Body
import retrofit2.http.POST

/**
 * @author BX-Gin
 * @since 2024/6/6 下午2:26
 */
interface TaskApi {

    /**
     * 签到
     * @param empty Map<String, String>
     */
    @POST("$PREFIX/sign_in")
    fun postSignIn(@Body empty: Map<String, String> = hashMapOf()): Call<Res<Nothing>>

    companion object {
        const val PREFIX = "community/task"
    }
}